package com.ly.work;

public class Main{
    public static int i = 1;

    public static void main(String[] args) throws InterruptedException {
        //创建两个线程
        Demo02 demo02 = new Demo02();
        Demo03 demo03 = new Demo03();
        //执行线程
        demo02.start();
        demo03.start();

        Thread.sleep(5000);
        System.out.println("---------------");
    }

}